package com.luhuiguo.cms.client;

import com.google.gwt.event.shared.HandlerRegistration;

@SuppressWarnings("deprecation")
public class HandlerRegistrationAdapter implements HandlerRegistration{
    com.google.gwt.gen2.event.shared.HandlerRegistration registration;

    public HandlerRegistrationAdapter(com.google.gwt.gen2.event.shared.HandlerRegistration registration) {
        this.registration = registration;
    }


    /*
     * (non-Javadoc)
     * @see com.google.gwt.event.shared.HandlerRegistration#removeHandler()
     */
    public void removeHandler() {
        registration.removeHandler();
    }
}